package com.guaoran.interview.spring.source.circular;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author : 孤傲然
 * @description : 循环依赖
 * @date :2020/8/9 11:17
 */
@Component
public class CircularReferenceOneService {

    @Autowired
    private CircularReferenceTwoService circularReferenceTwoService;
//    public void setCircularReferenceTwoService(CircularReferenceTwoService circularReferenceTwoService) {
////        this.circularReferenceTwoService = circularReferenceTwoService;
////    }

//    public CircularReferenceOneService(CircularReferenceTwoService circularReferenceTwoService) {
//        this.circularReferenceTwoService = circularReferenceTwoService;
//    }
}
